ioemu: Export PREFIX variable to ioemu build environment.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:27:36 +0000 (01:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:27:36 +0000 (01:27 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
stubdom/Makefile
tools/Makefile

index fabb6908decc6674928bf3f2e3bdb19919c71924..563c01aa565bab3816ab275e4169c21fbc1b2942 100644 (file)
@@ -235,6 +235,8 @@ libxc-$(XEN_TARGET_ARCH)/libxenctrl.a libxc-$(XEN_TARGET_ARCH)/libxenguest.a:: c
 ioemu: cross-zlib cross-libpci libxc
        [ -f ioemu/config-host.mak ] || \
          ( $(absolutify_xen_root); \
+           PREFIX=$(PREFIX); \
+           export PREFIX; \
            cd ioemu ; \
            LWIPDIR=$(CURDIR)/lwip-$(XEN_TARGET_ARCH) \
            TARGET_CPPFLAGS="$(TARGET_CPPFLAGS)" \
index 00e398170fde853f2efc7688218e2b7b9946dfce..ed5f7568d2df5578a202772dccc5674c17b8206e 100644 (file)
@@ -91,6 +91,8 @@ ioemu-dir-find:
        fi
        set -e; \
                $(absolutify_xen_root); \
+               PREFIX=$(PREFIX); \
+               export PREFIX; \
                cd ioemu-dir; \
                ./xen-setup $(IOEMU_CONFIGURE_CROSS)